<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>更改书籍</title>
</head>

<body>

    <form action="/bookstore/update_book/{{ book.id }}" method="post">
        <P>
            title <input type="text" value="{{ book.title }}" disabled="disabled">
        </P>
        <p>
            pub <input type="text" value="{{ book.pub }}" disabled="disabled">
        </p>
        <p>
            price <input type="text" name="price" value="{{ book.price }}">
        </p>
        <p>
            market_price <input type="text" name="market_price" value="{{ book.market_price }}">
        </p>
        <p>
            <input type="submit" value="更新">
        </p>
    </form>
</body>

</html>